﻿<!DOCTYPE html>
<html>
<head>
    <title>道路运输安全管理两类人考试培训平台</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="shortcut icon" href="/favicon.png">
    @Html.CdnImport("~/lib/jquery-icheck/jquery-icheck-square.css")
    @Html.CdnImport("~/lib/light7/css/light7.css")
    @Html.CdnImport("~/lib/light7/css/light7-swiper.css")
    @Html.CdnImport("~/lib/font-awesome/font-awesome.css")
    @RenderSection("css", false)
</head>
<body>
    @RenderBody()
    @Html.CdnImport("~/lib/jquery/jquery.js")
    <script>
        $.ajaxSetup({
            error: function (XMLHttpRequest, textStatus, errorThrown) {
                var dataType = this.dataTypes[1];
                var result = {};
                if (dataType == 'json') {
                    result = XMLHttpRequest.responseJSON;
                } else {
                    try {
                        result = $.parseJSON(XMLHttpRequest.responseText);
                    } catch (e) {
                        
                    }
                }
                if (result.type && result.type == 'session_timeout') {
                    window.location.href = result.url;
                }
            }
        });
    </script>
    @Html.CdnImport("~/lib/jquery-icheck/jquery-icheck.js")
    @Html.CdnImport("~/lib/light7/js/light7.js")
    @Html.CdnImport("~/lib/light7/js/i18n/cn.js")
    @Html.CdnImport("~/lib/light7/js/light7-swiper.js")
    @Html.LocalImport("~/www/js/app.js")
    @RenderSection("js", false)
</body>
</html>